<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
djConfig = {
    scopeMap: [
        ["dojo", "coolio"],
        ["dijit", "cooliow"],
        ["dojox", "cooliox"],
    ],
    modulePaths: {
        "coolio.actions": "../coolio/actions"
    },
    bindEncoding: "UTF-8",
    parseOnLoad : true,
    _hasResource: [],
    searchIds: []
};
</script>
<script type="text/javascript" src="<%=basePath%>javascript/dojo/dojo/dojo.js"></script>
<script type="text/javascript" src="<%=basePath%>javascript/dojo/dojox/timing/_base.js"></script>
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="../stylesheet/layout.css" />
<script type="text/javascript" src="<%=basePath%>javascript/footer_script.js"></script>
<script>
var request_count=-1;
var notification_count=-1;
var t = new cooliox.timing.Timer();
t.setInterval(3000);
t.onTick = function() {
	get_update('<%=basePath%>');
};
t.start();
get_update('<%=basePath%>');
</script>
</head>
<body>
	<jsp:include page="../common/header.jsp"></jsp:include>
	<jsp:include page="../common/navigator.jsp"></jsp:include>
	<div id="main">
	<s:property value="notice" />
	<table>
		<tr>
			<td>senderName</td>
			<td><a href="<s:url action="get_user" namespace="/user"><s:param name="userId"><s:property value="message.senderId"/></s:param></s:url>"><s:property value="message.senderName" /></a></td>
		</tr>
		<tr>
			<td>receiverName</td>
			<td><a href="<s:url action="get_user" namespace="/user"><s:param name="userId"><s:property value="message.receiverId"/></s:param></s:url>"><s:property value="message.receiverName" /></a></td>
		</tr>
		<tr>
			<td>sendTime</td>
			<td><s:property value="message.sendTime" /></td>
		</tr>
		<tr>
			<td>title</td>
			<td><s:property value="message.title" /></td>
		</tr>
		<tr>
			<td>content</td>
			<td><s:property value="message.content" /></td>
		</tr>
	</table>
	</div>
	<jsp:include page="../common/footer.jsp"></jsp:include>
</body>
</html>